Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Constants and Data Types for Synonyms


Halftone Synonym

The gxFormatHalftoneInfo structure defines the contents of a gxFormatHalftoneTag synonym:

struct gxFormatHalftoneInfo {
   long        numHalftones;  
   gxHalftone  halftones[1];  
};
Field Description
numHalftones
The number of halftones available for use.
halftones
The array of halftone specifications.
Halftones are specified in the gxHalftone structures, which are described completely in the view-related objects chapter of Inside Macintosh: QuickDraw GX Objects:

struct gxHalftone{
   fixed          angle;            /* direction of halftone */
   fixed          frequency;        /* cells per inch */
   gxDotType      method;           /* kind of pattern */
   gxTintType     tinting;          /* tint calculation method */
   gxColor        dotColor;         /* color of foreground */
   gxColor        backgroundColor;  /* color of background */
   gxColorSpace   tintSpace;        /* color space for tint */
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help